package com.flash.BusinessParameters.service;

import com.flash.BusinessParameters.entity.Broker;
import com.flash.BusinessParameters.entity.Cash;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface BrokerService {
    List<Broker> selectBroker();

    int insertBroker(Broker broker);

    int deleteBroker(String brokerId);

    int updateBroker(Broker broker);

    public List<Broker> selectBrokerMap(String brokerName, int page, int limit);

    public int selectCountBroker();
}
